<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- jGrouse console -->
<!-- Copyright (c) 2007 by Denis Riabtchik -->
<!-- See http://jgrouse.com/license.txt for licensing details -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>jGrouse Console</title>

<style type="text/css">

.hist {
	text-decoration: none;
	display: block;
}

.hist:hover
{
	text-decoration: underline;
}

.histItem {
	width:100%;
	overflow : hidden;
	height : 1.3em;
	border-bottom: solid 1px;
	border-color: lightgray
}

</style>

<script type="text/javascript" src="jgconsole.js">
</script>

<script type="text/javascript">

	// set domain here if needed
	jg_console.addListener(window, 'unload', jg_console.unload);
</script>
</head>


<body >
<div>Expression</div>
<textarea rows="5" id="expr" style="width: 99%">
</textarea>
<br>
<input type="button" name="run" value="Run!" onclick="jg_console.runEval()" accesskey="R" >
<input type="button" name="clear" value="Clear history" onclick="jg_console.clearItems()" >
<div>Results</div>
<div style="width:99%; height: 5em; overflow: auto; border: thin inset;">
	<div id="results">
	</div>
</div>
<div>
	<table width="100%">
		<tr>
			<td width="50%">
				<div>History</div>
				<div style="height: 20em; overflow: auto; border: thin inset; width:100%" id="history"></div>
			</td>
			<td width="50%">
				<div>Log</div>
				<div style="height:20em; overflow: auto; border: thin inset; width:100%" id="log"></div>
			</td>
		</tr>
	</table>
</div>
<script type="text/javascript">
	window.opener.jgrouse_console.initLogContent();
</script>
</body>
</html>